package ly.sjun.design.builder_pattern.food.fruit;

import ly.sjun.design.builder_pattern.food.Fruit;

/**
 * @ClassName: Apple
 * @Author: ly
 * @Date: 2023/2/2-10:00
 * @Description 苹果
 **/
public class Apple extends Fruit {

    @Override
    public String name() {
        return "苹果";
    }

    @Override
    public float price() {
        return 1f;
    }

}
